package com.financing.wap.dao.impl;

import java.sql.SQLException;

import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IUserFeedBackDao;
import com.financing.wap.dto.FaUserCertDTO;
import com.financing.wap.dto.UserFeedBackDTO;



@Repository("userFeedBackDaoImpl")
@SuppressWarnings(value={"deprecation", "unchecked"})
public class UserFeedBackDaoImpl extends BaseDaoImpl<UserFeedBackDTO, java.lang.Integer> implements IUserFeedBackDao {

	@Override
	public int addUserFeedBack(UserFeedBackDTO userFeedBackDTO)
			throws SQLException {
		return (Integer) this.sqlMapClientTemplate.insert(SqlName.ADD_USER_FEED_BACK,userFeedBackDTO);
	}

	@Override
	public Class<UserFeedBackDTO> getEntityClass() {
		return UserFeedBackDTO.class;
	}


}
